package cn.broadsense.biz.mapper;

import cn.broadsense.biz.domain.TagInfo;
import cn.broadsense.biz.dto.TagInfoTreeDto;
import cn.broadsense.biz.query.TagInfoQuery;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author lijian
 * @description
 * @date 2024年09月11日 下午4:03
 */
@Mapper
public interface TagInfoMapper extends BaseMapper<TagInfo> {

    Integer getChildrenList(Integer tagId);

    List<TagInfoTreeDto> getListTree(TagInfoQuery query);

    TagInfo getTagInfo(Integer tagId);
}
